/**
 * uniapp默认样式重写
 */

checkbox .uni-checkbox-input {
	border: 1upx solid --color(--p-border-d1) !important;
	position: relative
}

checkbox.blue.checked .uni-checkbox-input,
checkbox.blue[checked] .wx-checkbox-input,
radio.blue.checked .uni-radio-input,
radio.blue[checked] .wx-radio-input,
switch.blue.checked .uni-switch-input,
switch.blue[checked] .wx-switch-input {
	background-color: $maincolor !important;
	border-color: $maincolor !important;
	color: --color(--p-white) !important
}

checkbox {
	outline: 0
}

checkbox.ios::before {
	right: 5upx !important;
	margin-top: -16upx !important
}

checkbox::before,
radio::before {
	margin-top: -18upx !important;
	right: 10upx !important;
	line-height: 32upx !important;
	font-size: 38upx !important;
	font-weight: 700;
	outline: 0
}

.su-checkbox {
	top: -4upx !important
}

checkbox-group, radio-group {
	width: 100%
}

checkbox-group label, radio-group label {
	padding-right: 20upx
}

uni-checkbox-group {
	width: 100% !important;
}

uni-checkbox-group uni-label {
	width: 33% !important;
	display: inline-flex;
	margin-bottom: 20rpx;
}

/*checkbox 选项框大小  */
uni-checkbox .uni-checkbox-input {
	width: 50upx !important;
	height: 50upx !important;
	border: 3upx solid --color(--p-border-color) !important;
	top: -5upx;
	margin-right: 0;
}

/*checkbox选中后样式  */
uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
	background: $maincolor;
	border-color: $maincolor;
}

/*checkbox选中后图标样式  */
uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
	width: 25rpx;
	height: 25rpx;
	line-height: 25rpx;
	font-size: 44rpx;
	color: --color(--p-white);
	left: 18upx;
}

uni-checkbox.blue.checked .uni-checkbox-input.uni-checkbox-input-disabled {
	background-color: var(--p-ded) !important;
	border-color: var(--p-ded) !important;
}

/* switch开关 */
uni-switch .uni-switch-input {
	border-color: var(--p-bg-ee) !important;
}

.su-picker.dark .uni-picker-view-mask {
	background: none !important;
}

